<template>
  <title-bar/>
  <div>
    <h1>adbout Page</h1>
    <p>Welcome to the Home Page!</p>
    <el-button @click="test">aboutbtn</el-button>
  </div>
</template>
 
<script lang="ts" setup>
import TitleBar from "../components/title-bar.vue";

import {onMounted} from 'vue'
onMounted(()=>{
  document.title ='数据看板'
})
function test(){
  window.close()
  // if (window.electron) {
  //    window.electron.ipcRenderer.send("testsend");
  // }
}

</script>